package com.fengye.school.model.school.enums;

import lombok.Getter;

/**
 * 性别 - 枚举类型
 */
@Getter
public enum SexType {
    MALE(1, "男"),
    FEMALE(2, "女");

    private final int code;
    private final String name;



    SexType(int code, String name) {
        this.code = code;
        this.name = name;
    }
}
